home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / utils / console / svgatext.3 / svgatext / SVGATextMode-1.3 / README < prev    next >
Encoding:
Text File  |  1996-04-15  |  9.2 KB  |  189 lines

  1.  
  2.                        SVGATextMode
  3.                        ============
  4.  
  5. INTRODUCTION
  6. ------------
  7.  
  8. This program is designed to greatly improve the normal (EGA-based) textmodes
  9. on your Linux machine. It uses an Xconfig-like configuration file to set up
  10. better looking textmodes. (=higher resolution, larger font size, higher
  11. display refresh...) This is already a big boon on normal 14" displays, and
  12. it is an immense difference on larger and better (15" and up) screens.
  13.  
  14. It stems from the idea that it is a real waste of hardware to use EGA
  15. textmodes on an SVGA-card, which was designed to do much better than that.
  16.  
  17. Even the cheapest state-of-the-art VGA cards are capable of running at well
  18. over 60 MHz pixel clocks (at least in graphics mode). But most of the time
  19. they are used in text-only mode, and at 80x25 chars (that looks RIDICULOUS
  20. on a 20" screen!), using a mere 25 MHz clock? At best, they use 132x43
  21. textmode, which is still only a 40 MHz clock.
  22.  
  23. Even the cheapest SVGA monitors can take at least 35 kHz of line-frequency,
  24. and if you go for a 15" or higher, 56 kHz and up are no longer the
  25. exception. But most of the time they are used only at 32 kHz for either
  26. 80x25 or 132x43 modes. ALL VGA textmodes use just the standard VGA 32 kHz
  27. horizontal refresh. If you are the owner of such a monitor, don't you think
  28. it's a shame you only use one fifth of the available resolution in text
  29. mode? Especially if you see what that monitor/SVGA-card combination can do
  30. under Windows or X-Windows.
  31.  
  32. If you own a VGA card that is NOT detected properly by the kernel (e.g. a
  33. Diamond card), you normally can use only 80x25, 80x28 and 80x50 modes. If
  34. you want to use any other mode (which might or might not be available
  35. through the BIOS) you had only one option: patch the kernel to force
  36. detection of your card. And then you can still only use what your VGA BIOS
  37. manufacturer put into the BIOS. Now you can use this program to get ANY text
  38. mode, independently of BIOSses and detection by the kernel! Only limited by
  39. what your SVGA-card and your monitor can take.
  40.  
  41. People doing lots of programming, and who don't want to sacrifice speed
  42. (text modes scroll extremely fast) and memory (Xwindows is a real memory
  43. hog) for a nice-looking display will really benefit from this: you get the
  44. graphic detail and high refresh rates of X-windows, with the speed and
  45. ease-of-use of normal text modes. It doesn't take up any more memory than
  46. normal text modes, and it doesn't slow down your machine!
  47.  
  48. Even if you want to stick with what you had (e.g. 132x43), this program can
  49. help you improve that, too! The so-called "high-res" 132x43 is not that nice
  50. to look at. It uses an 8x8 (sometimes 8x11) pixel font, which shows up as
  51. characters made up of stacked lines. Makes your screen look like in the old
  52. days, when monochrome 80x25 was the standard, and you could actually count
  53. on-screen how many lines your character was made up of. Now you could use
  54. the same text mode, but with a 16-pixel high font, resulting in MUCH crisper
  55. characters, and, if you want, higher refresh (less flicker).
  56.  
  57.  
  58. With this program, you could do the following things (providing your video
  59. card is supported, and providing your monitor can handle it, and providing
  60. your video card still works at the higher dot-clock rates):
  61.  
  62.    50x15 text mode, for those with a visual impairment?
  63.    80x25 text mode with a 32-line character cell (VGA = 16 line)
  64.    80x25 at 100 Hz, or even 150 Hz instead of "just" 70 Hz (= VGA)
  65.    80x25 at 16 kHz interlaced, so you can show your text mode
  66.          on a TV monitor, or tape it on a VCR... (interlacing not supported
  67.          YET. If anyone needs it, let me know)
  68.    100x37 text mode. My favourite for 14" screens. Not available on
  69.           most VGA cards as a standard (some Cirrus Logic cards have it).
  70.           Now everybody can have it. Looks real neat!
  71.    132x43 improved over VGA default: 8x16 character cell instead of 8x8.
  72.           looks MUCH better, especially on 15" (and up) screens.
  73.    110x42 why not? everything is possible...
  74.    160x100 !!! We've tried this on an ET4000 and it's a screamer. On very
  75.            large screens (>17"), this is REAL cool.
  76.  
  77. And since it uses the same kind of configuration file as the XFree X-server,
  78. it can do everything the X-server can, but in textmode instead of graphics
  79. mode. With a little bit of imagination and clever thinking, you can get
  80. almost any resolution at almost any refresh rate. 
  81.  
  82. Another possible application: do you have some (old ?) workstation monitor
  83. somewhere, which you would LOVE to use under Linux, but it is a
  84. fixed-frequency one (= only works at ONE, mostly high, horizontal frequency,
  85. say 56 kHz), which does't support standard VGA modes, and thus doesn't
  86. support normal text modes? You would have to start up in X-windows
  87. immediately (xdm) and do all your work from X-windows. But that eats too
  88. much memory, and you have only a Trident card, which is MUCH too slow for X.
  89. Enter "SVGATextMode": now you can be in textmode, at the same 56 kHz
  90. frequency (1024x768 at 70 Hz) as you would in X-windows, on that big 19"
  91. SparcStation monitor you bought for virtually nothing (keep on dreaming ;-)
  92.  
  93.  
  94. What does it do?
  95. ----------------
  96.  
  97. SVGATextMode doesn't do a lot! It basically keeps running in native VGA text
  98. mode, as do the "normal" linux consoles. It changes some VGA registers in
  99. order to get different X/Y resolutions, and selects another pixel clock.
  100.  
  101. SVGATextMode does NOT run in graphics mode, as the name would suggest, and
  102. as the use of an X-Windows-like configuration file would also suggest. The
  103. "SVGA" part of the name refers to the fact that it uses an extra feature
  104. found in all VGA cards: higher available dot clocks.
  105.  
  106. The advantage: The same blazing text speed as you get from the normal text
  107. consoles. Performance is extremely fast, even on a low-end cheap Trident
  108. card, which is the standard for "slow" _graphics_ performance :-(
  109.  
  110. The reason: it uses the hardware font-rendering that all VGA cards have.
  111.  
  112. The Disadvantage: It can only use certain font sizes, and will never support
  113. extended character sets (like UniCode, UTF-8, ISO-10646, ...), unless some
  114. wizzard gets the standard Linux consoles to do that... SVGATextMode can do
  115. everything a standard text console can, but nothing more. SVGATextMode will
  116. not give your text modes features that weren't already available in your
  117. "old" normal text modes.
  118.  
  119. Of course, proportional fonts are out of the question, as in a normal text
  120. console.
  121.  
  122.  
  123. What does it NOT do?
  124. --------------------
  125.  
  126. SVGATextMode does NOT do anything OTHER than slightly tweaking your text
  127. modes. In fact, there is NO substantial change to what you already have in a
  128. normal "off the shelf" text mode. All it does is just changing a few
  129. parameters here and there. But the main functionality is the same. 
  130.  
  131. You might have bought yourself a very expensive graphics accelerator with
  132. all 256 MS-Windows raster operations built-in, a blazingly fast blitter
  133. ("pixel pusher"), a really sexy line-drawing engine, hardware assisted font
  134. scaling, built-in gouraud and phong shading, 3D acceleration hardware, 2 MB
  135. Z-buffer, 8 MB of lightspeed triple-port VRAM, a 256-bit wide 500 MHz
  136. RAMDAC, 128-bit memory bus, and whatever more they come up with. You might
  137. have a graphics speed of millions of polygons per second, and a few million
  138. X-stones. You might even have a built-in MPEG decoder on the VGA chip, or a
  139. real-time 3-D rendering engine.
  140.  
  141. Forget about all that. SVGATextMode WILL NOT BENEFIT from all that junk. The
  142. only advantage your expensive board may (!) have over others in text mode,
  143. is that the maximum allowable text mode clock will probably be a bit higher,
  144. at least a little higher than that 20 $ VGA card your friend has.
  145.  
  146. SVGATextMode leaves your text mode functionally intact. It just CHANGES some
  147. values here and there: a little more of this, a little faster there, and so
  148. on.
  149.  
  150. SVGATextMode is a VISUAL enhancement to your Linux text modes, NOT a
  151. functional one! I hope you got the point by now...
  152.  
  153.  
  154. Author:
  155. -------
  156.  
  157. Koen Gadeyne (kmg@barco.be)
  158.  
  159. *******************************************************************************
  160. * NOTE: When mailing me, please consider the fact that I use a company-paid   *
  161. * E-mail account, and wouldn't like to lose it :-(  So use your common        *
  162. * sense, and if you DO mail, avoid sending MegaBytes of redundant data...     *
  163. * It's a slow and expensive modem link...                                     *
  164. *******************************************************************************
  165.  
  166.  
  167. Copyright notice:
  168. -----------------
  169.  
  170.   SVGATextMode -- An SVGA textmode manipulation/enhancement tool
  171.  
  172.   Copyright (C) 1995,1996  Koen Gadeyne
  173.  
  174.   This program is free software; you can redistribute it and/or modify
  175.   it under the terms of the GNU General Public License as published by
  176.   the Free Software Foundation; either version 2 of the License, or
  177.   (at your option) any later version.
  178.  
  179.   This program is distributed in the hope that it will be useful,
  180.   but WITHOUT ANY WARRANTY; without even the implied warranty of
  181.   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  182.   GNU General Public License for more details.
  183.  
  184.   You should have received a copy of the GNU General Public License
  185.   along with this program; if not, write to the Free Software
  186.   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  187.  
  188.  
  189.